package com.chen.wxchat.dao;

import com.chen.wxchat.entity.Article;
import com.chen.wxchat.entity.Notify;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleDao {

    int insertArticle(Article article);
    List<Article> getArticleList(@Param("articleId") String articleId);
    List<Article> getAllArticleList();
    boolean updateArticle(Article article);
    boolean updateArticleReadCount(Article article);
}
